<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>1024</title>

    <link rel="stylesheet" href="http://cdn.bootcss.com/bootstrap/3.3.5/css/bootstrap.min.css">

    <style type="text/css">
        .title {
            text-align: center;
        }

        .input {
            width: 100%;
            border: none;
            height: 34px;
            padding: 6px 12px;
            font-size: 14px;
            line-height: 1.42857143;
            border-bottom: 1px solid #ccc;
        }

        .table-bordered > tbody > tr > td, .table-bordered > tbody > tr > th,
        .table-bordered > tfoot > tr > td, .table-bordered > tfoot > tr > th,
        .table-bordered > thead > tr > td, .table-bordered > thead > tr > th {
            border: 1px solid #000;
        }
    </style>

    <script type="text/javascript" src="http://www.w3school.com.cn/jquery/jquery.js"></script>

</head>


<body>
<form class="form"  id="templateId" >

    <div class="container-fluid">

        <h2 class="title">汇融易POSS贷实地考察报告</h2>

        <h3>一、基本情况</h3>

        <div class="row">

            <div class="col-sm-6">

                <table class="table table-bordered">
                    <tr>
                        <td>借款申请人名称</td>
                        <td><input id="borrow_name" class="input" type="text" /></td>
                    </tr>
                    <tr>
                        <td>调查日期</td>
                        <td><input id="invest_date" class="input" type="text" /></td>
                    </tr>
                    <tr>
                        <td>调查时间</td>
                        <td><input id="invest_time" class="input" type="text" /></td>
                    </tr>

                </table>


            </div>

            <div class="col-sm-6">
                <table class="table table-bordered">
                    <tr>
                        <td>企业名称</td>
                        <td colspan="2"><input id="compant_name" class="input" type="text" /></td>
                    </tr>
                    <tr>
                        <td>调查地点</td>
                        <td colspan="2"><input id="invest_addr" class="input" type="text" /></td>
                    </tr>
                    <tr>
                        <td>企业类型</td>
                        <td><input type="radio" id="company_type_prd"  name="company_type"     value="生产">生产 <input type="radio" name="company_type" id="company_type_trade" value="贸易">贸易 <input
                                type="radio" id="company_type_service"  name="company_type" value="服务">服务 <input type="radio" id="company_type_other"  name="company_type" value="其他">其他</td>
                        <td>其他类备注：<input id="company_type_other_name" class="input" style="width: 70%" type="text" /></td>
                    </tr>

                </table>

            </div>

        </div>





        <h3>二、现场调查情况</h3>

        <div class="row">

            <div class="col-sm-6">

                <table class="table table-bordered">
                    <tr>
                        <td>(一)本人访谈</td>
                        <td colspan="2">1、个人情况</td>
                    </tr>
                    <tr>
                        <td>1.1</td>
                        <td>现场调查中申请人是否积极配合</td>
                        <td><input type="radio" name="good_co" id="good_co_yes" value="是">是 <input type="radio" id="good_co_no" name="good_co" value="否">否</td>
                    </tr>
                    <tr>
                        <td>1.2</td>
                        <td>家庭车辆/价值最高车辆</td>
                        <td><input type="checkbox" id="car_no" value="无">无 <input id="car_num" class="input" style="width: 80px" type="text" />台 <br>
                            品牌：<input id="car_brand" class="input" style="width: 80px" type="text" /></td>
                    </tr>
                    <tr>
                        <td>1.3</td>
                        <td>自用车辆是否已用于贷款抵押且安装GPS</td>
                        <td><input type="radio" id="car_with_gps_yes" name="car_with_gps"  value="是">是 <input type="radio" id="car_with_gps_no" name="car_with_gps" value="否">否</td>
                    </tr>
                    <tr>
                        <td>1.4</td>
                        <td>是否有民间借贷经历</td>
                        <td><input type="radio" id="p2p_load_history_yes"  name="p2p_load_history" value="是">是 <input type="radio" id="p2p_load_history_no" name="p2p_load_history"  value="否">否</td>
                    </tr>

                    <tr>
                        <td rowspan=3>1.5</td>
                        <td rowspan=3>贷款资金是否用于还债</td>
                    </tr>

                    <tr>
                        <td><input type="radio" id="borrow_for_return_yes" name="borrow_for_return" value="是">是 <input type="radio" name="borrow_for_return" id="borrow_for_return_no" value="否">否</td>
                    </tr>
                    <tr>
                        <td>具体:<input id="borrow_for_return_detail" class="input" style="width: 80%" type="text" />
                        </td>
                    </tr>



                    <tr>
                        <td rowspan=4>1.6</td>
                        <td rowspan=4>配偶是否参与经营</td>
                    </tr>

                    <tr>
                        <td><input type="radio" id="wife_in_op_yes" name="wife_in_op"  value="是">是 <input type="radio" name="wife_in_op"  id="wife_in_op_no" value="否">否 <input
                                type="radio" id="wife_in_op_null" name="wife_in_op"  value="未涉及">未涉及</td>
                    </tr>
                    <tr>
                        <td>姓名:<input id="wife_name" class="input" style="width: 80%" type="text" />
                        </td>
                    </tr>
                    <tr>
                        <td>电话:<input id="wife_mobile" class="input" style="width: 80%" type="text" />
                        </td>
                    </tr>




                    <tr>
                        <td rowspan=7>1.7</td>
                        <td rowspan=7>其他股东、合伙人</td>
                    </tr>


                    <tr>
                        <td>姓名:<input id="other_co_name1" class="input" style="width: 80%" type="text" />
                        </td>
                    </tr>
                    <tr>
                        <td>电话:<input id="other_co_mobile1" class="input" style="width: 80%" type="text" />
                        </td>
                    </tr>
                    <tr>
                        <td>姓名:<input id="other_co_name2" class="input" style="width: 80%" type="text" />
                        </td>
                    </tr>
                    <tr>
                        <td>电话:<input id="other_co_mobile2" class="input" style="width: 80%" type="text" />
                        </td>
                    </tr>
                    <tr>
                        <td>姓名:<input id="other_co_name3" class="input" style="width: 80%" type="text" />
                        </td>
                    </tr>
                    <tr>
                        <td>电话:<input id="other_co_mobile3" class="input" style="width: 80%" type="text" />
                        </td>
                    </tr>

                </table>


            </div>

            <div class="col-sm-6">
                <table class="table table-bordered">
                    <tr>
                        <td colspan="3">（二）现场查看</td>
                    </tr>

                    <tr>
                        <td>3.1</td>
                        <td>经营场所外部是否有“招租”招牌，或出租方有出租该场所迹象，或现场有搬迁迹象</td>
                        <td><input type="radio" id="addr_like_move_yes"  name="addr_like_move"   value="是">是 <input type="radio" name="addr_like_move"  id="addr_like_move_no" value="否">否</td>
                    </tr>

                    <tr>
                        <td>3.2</td>
                        <td>营业执照企业名称、法人姓名与申请信息是否一致</td>
                        <td><input type="radio" id="name_all_same_yes"  name="name_all_same"   value="是">是 <input type="radio" name="name_all_same"  id="name_all_same_no" value="否">否</td>
                    </tr>

                    <tr>
                        <td>3.3</td>
                        <td>现场拨打申请表办公电话是否一致</td>
                        <td><input type="radio" id="phone_all_same_yes"  name="phone_all_same"   value="是">是 <input type="radio" name="phone_all_same"  id="phone_all_same_no" value="否">否</td>
                    </tr>


                    <tr>
                        <td>3.4</td>
                        <td>申请人是否熟悉办公环境，如本人持有办公室/保险箱钥匙、与其他员工熟识等</td>
                        <td><input type="radio" id="know_evn_yes" name="know_evn"  value="是">是 <input type="radio"  name="know_evn"  id="know_evn_no" value="否">否</td>
                    </tr>


                    <tr>
                        <td>3.5</td>
                        <td>现场是否有债主方讨债</td>
                        <td><input type="radio" id="dun_yes"  name="dun" value="是">是 <input type="radio" name="dun" id="dun_no" value="否">否</td>
                    </tr>


                    <tr>
                        <td>3.6</td>
                        <td>经营场所人流量是否异常</td>
                        <td><input type="radio" id="flow_yes"    name="flow"  value="是">是 <input type="radio" name="flow" id="flow_no" value="否">否</td>
                    </tr>

                    <tr>
                        <td>3.7</td>
                        <td>办公区域保安/员工提供的企业名称/老板姓名 等信息，与申请信息是否一致</td>
                        <td><input type="radio" id="emp_boss_name_same_yes"  name="emp_boss_name_same"   value="是">是 <input type="radio" name="emp_boss_name_same" id="emp_boss_name_same_no" value="否">否</td>
                    </tr>
                    <tr>
                        <td>3.8</td>
                        <td>机器是否有严重积尘、无开工迹象</td>
                        <td><input type="radio" id="mechine_dust_yes" name="mechine_dust"  value="是">是 <input type="radio"  name="mechine_dust" id="mechine_dust_no" value="否">否</td>
                    </tr>
                    <tr>
                        <td>3.10</td>
                        <td>产成品或半成品是否能从生产线成功生产</td>
                        <td><input type="radio" id="half_product_yes"  name="half_product"   value="是">是 <input type="radio" name="half_product"  id="half_product_no" value="否">否</td>
                    </tr>
                    <tr>
                        <td>3.11</td>
                        <td>周边商户提及申请人有赌博等不良嗜好或被追债</td>
                        <td><input type="radio" id="like_gamble_yes"  name="like_gamble"   value="是">是 <input type="radio" name="like_gamble"  id="like_gamble_no" value="否">否</td>
                    </tr>
                    <tr>
                        <td>3.12</td>
                        <td>企业周边商户提供的企业名称/老板姓名等信息，与客户信息不一致</td>
                        <td><input type="radio" id="around_boss_name_same_yes"  name="around_boss_name_same"  value="是">是 <input type="radio" name="around_boss_name_same" id="around_boss_name_same_no" value="否">否</td>
                    </tr>



                </table>

            </div>

        </div>


        <div class="row">

            <div class="col-sm-6">
                2、经营情况
                <table class="table table-bordered">

                    <tr>
                        <td>2.1</td>
                        <td>经营场所租用起止时间/出租方</td>
                        <td><input type="radio" id="place_is_own" value="是">自有<br> 姓名：<input id="owner_name" class="input" style="width: 80px"
                                                                                             type="text" />电话：<input id="owner_mobile" class="input" style="width: 120px" type="text" /></td>
                    </tr>
                    <tr>
                        <td>1.2</td>
                        <td>经营场所面积 <input id="place_area" class="input" style="width: 80px" type="text" /> ㎡
                        </td>
                        <td>租金： <input id="place_price" class="input" style="width: 80px" type="text" />元/月
                        </td>
                    </tr>
                    <tr>
                        <td>2.3</td>
                        <td>行业从业年限/本企业经营年限</td>
                        <td><input id="ind_years" class="input" style="width: 80px" type="text" />年/<input id="company_years" class="input" style="width: 80px"
                                                                                                           type="text" />年</td>
                    </tr>
                    <tr>
                        <td>2.4</td>
                        <td>开设分店数量</td>
                        <td>直营：<input id="branch_type_direct" class="input" style="width: 80px" type="text" />加盟：<input id="branch_type_union" class="input"
                                                                                                                        style="width: 80px" type="text" /> <input type="checkbox" />未涉及
                        </td>
                    </tr>

                    <tr>
                        <td>2.5</td>
                        <td>口述员工人数(<input id="say_emp_num" class="input" style="width: 60px" type="text" />人)与现场观察人数(<input id="see_emp_num" class="input"
                                                                                                                            style="width: 60px" type="text" />人)差别过大？
                        </td>
                        <td><input type="radio" id="emp_num_yes"  name="emp_num"  value="是">是 <input type="radio" name="emp_num" id="emp_num_no" value="否">否 <input type="radio"
                                                                                                                                                                    id="emp_num_null" name="emp_num" value="未涉及">未涉及</td>
                    </tr>
                    <tr>
                        <td>2.6</td>
                        <td>年销售额</td>
                        <td><input id="sale_amount" class="input" style="width: 60px" type="text" />万元</td>
                    </tr>
                    <tr>
                        <td>2.7</td>
                        <td>年净利润</td>
                        <td><input id="sale_profit" class="input" style="width: 60px" type="text" />万元</td>
                    </tr>
                    <tr>
                        <td>2.8</td>
                        <td>机器设备</td>
                        <td><input type="radio" id="machine_own"  name="machine"    />自有<input type="radio"  name="machine" id="machine_null" />不涉及<br> 价值：<input id="machine_value"
                                                                                                                                                                  class="input" style="width: 60px" type="text" /></td>
                    </tr>

                    <tr>
                        <td>2.9</td>
                        <td>存货</td>
                        <td><input type="checkbox" id="store_null" />不涉及<br> 价值：<input id="store_value" class="input" style="width: 60px" type="text" /></td>
                    </tr>
                    <tr>
                        <td>2.10</td>
                        <td>月工资支出总额/员工月均工资</td>
                        <td><input id="emp_month_cost" class="input" style="width: 60px" type="text" /> 元 / <input id="emp_month_payment_cost" class="input"
                                                                                                                   style="width: 60px" type="text" /> 元</td>
                    </tr>
                    <tr>
                        <td>2.11</td>
                        <td>上游交易账期</td>
                        <td><input id="up_acc_date" class="input" style="width: 60px" type="text" />天/月</td>
                    </tr>
                    <tr>
                        <td>2.12</td>
                        <td>下游交易账期</td>
                        <td><input id="down_acc_date" class="input" style="width: 60px" type="text" />天/月</td>
                    </tr>
                </table>


            </div>

            <div class="col-sm-6">
                <table class="table table-bordered">
                    <tr>
                        <td>三、其它补充及结论</td>
                    </tr>

                    <tr>
                        <td><textarea id="other_supp" rows="30" style="width: 100%;"></textarea></td>
                    </tr>
                </table>

            </div>

        </div>




        <div class="row">
            <div class="col-sm-12">
                四、签名
                <div style="border: 1px solid #000; padding: 10px;">
                    <p>本人确认按操作流程完成调查，对本次调查的真实性负责。</p>
						<span> 调查人：<input id="invester" class="input" style="width: 200px" type="text" />
						</span><span style="margin-left: 100px;"> 日期：<input id="invest_date" class="input" style="width: 200px" type="text" />
						</span>
                </div>

            </div>

        </div>


    </div>



</form>
</body>
<script type="text/javascript">
    var data = {
        "borrow_name": "李四",
        "invest_date": "2016-08-08",
        "invest_time": "09:00",
        "compant_name": "阿里巴巴",
        "invest_addr": "环球中心",
        "company_type_prd": "true",
        "company_type_trade": "false",
        "company_type_service": "false",
        "company_type_other": "false",
        "company_type_other_name": "",
        "good_co_yes": "true",
        "car_no": "false",
        "car_num": "2",
        "car_brand": "奥迪",
        "car_with_gps": "false",
        "p2p_load_history_yes": "true",
        "p2p_load_history_no": "false",
        "borrow_for_return_yes": "false",
        "borrow_for_return_no": "false",
        "borrow_for_return_detail": "",
        "wife_in_op_yes": "true",
        "wife_in_op_no": "false",
        "wife_name": "黄月英",
        "wife_mobile": "13456789098",
        "other_co_name1": "",
        "other_co_mobile1": "",
        "other_co_name2": "",
        "other_co_mobile2": "",
        "other_co_name3": "",
        "other_co_mobile3": "",
        "addr_like_move_yes": "false",
        "addr_like_move_no": "false",
        "name_all_same_yes": "false",
        "name_all_same_no": "false",
        "phone_all_same_yes": "false",
        "phone_all_same_no": "false",
        "know_evn_yes": "false",
        "know_evn_no": "false",
        "dun_yes": "false",
        "dun_no": "false",
        "flow_yes": "false",
        "flow_no": "false",
        "emp_boss_name_same_yes": "false",
        "emp_boss_name_same_no": "false",
        "mechine_dust_yes": "false",
        "mechine_dust_no": "false",
        "half_product_yes": "false",
        "half_product_no": "false",
        "like_gamble_yes": "false",
        "like_gamble_no": "false",
        "around_boss_name_same_yes": "false",
        "around_boss_name_same_no": "false",
        "place_is_own": "true",
        "owner_name": "刘备",
        "owner_mobile": "13456765432",
        "place_area": "1000",
        "place_price": "2000",
        "ind_years": "",
        "company_years": "5",
        "branch_type_direct": "12",
        "branch_type_union": "22",
        "say_emp_num": "1",
        "see_emp_num": "",
        "emp_num_yes": "false",
        "emp_num_no": "false",
        "emp_num_null": "false",
        "sale_amount": "",
        "sale_profit": "",
        "machine_own": "false",
        "machine_null": "false",
        "machine_value": "",
        "store_null": "false",
        "store_value": "",
        "emp_month_cost": "",
        "emp_month_payment_cost": "",
        "up_acc_date": "",
        "down_acc_date": "",
        "invester": ""
    };

    $(function () {
        $.each(data, function (key, value) {
            var element = $("#" + key);
            if (element.is('input')) {
                var type = element[0].type;
                if (type == 'text') {
                    element.attr('value', value);
                } else if (type == 'radio' || type == 'checkbox') {
                    if (value=='true') {
                        element.attr('checked', true);
                    }
                }
            }else if(element.is('textarea')){
                element.val(value)
            }else if(element.is('select')){
                element.val(value)
            }

            element.attr("disabled",true);

        });
    });


    function onSubmit() {
        var aa = $('.form')
        console.log(aa.className)
    }
</script>

</html>
